package com.mapproject.industrymap.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mapproject.industrymap.entity.PublicDataCatalogEntity;
import com.mapproject.industrymap.mapper.SysPublicDataCatalogMapper;
import com.mapproject.industrymap.service.SysPublicDataCatalogService;
import com.mapproject.industrymap.utils.ReturnValue;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SysPublicDataCatalogServiceImpl extends ServiceImpl<SysPublicDataCatalogMapper, PublicDataCatalogEntity>  implements SysPublicDataCatalogService {
    @Autowired
    SysPublicDataCatalogMapper sysPublicDataCatalogMapper;
    public ReturnValue getPublicDataCatalogInfo(String publiclayer){
        QueryWrapper<PublicDataCatalogEntity> queryWrapper=new QueryWrapper<>();
        List<Map<String, Object>> maps = sysPublicDataCatalogMapper.selectMaps(queryWrapper);
        return new ReturnValue(200,"查询结果",maps);
    }
}

